package com.cclinux.projects.actcampus.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cclinux.framework.core.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Notes:
 * @Author: cclinux0730 (weixin)
 * @Date: 2024/11/30 7:18
 * @Ver: ccminicloud-framework 3.2.1
 */

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("actcampus_activity_join_class_fee")
public class ActivityJoinClassFeeModel extends BaseModel {

    /**
     * 状态
     */
    public static final class STATUS {
        // 1有效，2删除，3已退费
        public static final int VALID = 1;
        public static final int DEL = 2;
    }

    @TableId(value = "ACTIVITY_JOIN_CLASS_FEE_ID", type = IdType.AUTO)
    private Long activityJoinClassFeeId;

    @TableField("ACTIVITY_JOIN_CLASS_ID")
    private long activityJoinClassId;

    @TableField("ACTIVITY_JOIN_ID")
    private long activityJoinId;

    @TableField("ACTIVITY_JOIN_USER_ID")
    private long activityJoinUserId;

    @TableField("ACTIVITY_JOIN_ACTIVITY_ID")
    private long activityJoinActivityId;

    // 1有效，2删除
    @TableField("ACTIVITY_JOIN_STATUS")
    private int activityJoinStatus;

    @TableField(exist = false)
    private String activityTitle;

    @TableField(exist = false)
    private String userMobile;

    @TableField(exist = false)
    private String addTimeStr;

    @TableField("FEE")
    private Double fee;


}
